package ex01;

/**
 * Create By IntelliJ IDEA
 *
 * @Author: jsonor
 * @Create-Time: 2017/10/16 13:57
 * @Description: El表达式测试
 */
public class Person {

  private int age;
  private String name;
  private boolean man;

  public Person(int age, String name, boolean man) {
    this.age = age;
    this.name = name;
    this.man = man;
  }

  public Person() {
    this(0, null, false);
  }

  public int getAge() {
    return age;
  }

  public void setAge(int age) {
    this.age = age;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public boolean isMan() {
    return man;
  }

  public void setMan(boolean man) {
    this.man = man;
  }
}
